package com.panshi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */

@SpringBootApplication//(exclude = DataSourceAutoConfiguration.class)//排除自动配置
@EnableDiscoveryClient// 开启Eureka客户端
@EnableFeignClients //导入其他资源
//@ServletComponentScan //在SpringBootApplication上使用@ServletComponentScan注解后，Servlet、Filter、Listener可以直接通过@WebServlet、@WebFilter、@WebListener注解自动注册，无需其他代码。
public class HasbeiWebApp{
    public static void main(String[] args ){
        System.out.println( "Hello World!" );
        SpringApplication.run(HasbeiWebApp.class, args);
    }
}
